package cn.backpackerxl.easyJDBC.util;

/**
 * @Author: backpackerxl
 * CreateTime: 2022/5/2
 * FileName: Time
 **/
public enum Time {
    TIMESTAMP("#"),
    yyyy$MM$dd$HH$mm$ss("yyyy-MM-dd HH:mm:ss"),
    yyyy$MM$dd$HH$mm$ss$SSS("yyyy-MM-dd HH:mm:ss SSS"),
    yyyy$MM$dd("yyyy-MM-dd"),
    MM$dd("MM-dd"),
    MM$dd$HH$mm("MM-dd HH:mm"),
    yyyyMMdd$HH$mm$ss("yyyy/MM/dd HH:mm:ss"),
    yyyyMMdd$HH$mm$ss$SSS("yyyy/MM/dd HH:mm:ss SSS"),
    yyyyMMdd("yyyy/MM/dd"),
    MMdd("MM/dd"),
    MMdd$HH$mm("MM/dd HH:mm"),
    HH$mm("HH:mm"),
    HH$mm$ss("HH:mm:ss");

    private final String time;

    Time(String s) {
        this.time = s;
    }

    public String get() {
        return this.time;
    }
}
